\connect pcweek

select 'Checking table sizes...' as message;
connecting to new database: pcweek
message                
-----------------------
Checking table sizes...
(1 row)


--

select '== Data tables ==' as message;
message          
-----------------
== Data tables ==
(1 row)


select 'uniques: ' as message, count(*) from uniques;
message  |count
---------+-----
uniques: |10000
(1 row)

select 'hundred: ' as message, count(*) from hundred;
message  |count
---------+-----
hundred: |10000
(1 row)

select 'tenpct: ' as message, count(*) from tenpct;
message |count
--------+-----
tenpct: |10000
(1 row)

select 'updates: ' as message, count(*) from updates;
message  |count
---------+-----
updates: |10000
(1 row)

select 'tenthou: ' as message, count(*) from tenthou;
message  |count
---------+-----
tenthou: |  100
(1 row)

select 'hunthou: ' as message, count(*) from hunthou;
message  |count
---------+-----
hunthou: | 1000
(1 row)

select 'twomill: ' as message, count(*) from twomill;
message  |count
---------+-----
twomill: |20000
(1 row)

select 'threemill: ' as message, count(*) from threemill;
message    |count
-----------+-----
threemill: |30000
(1 row)

select 'fourmill: ' as message, count(*) from fourmill;
message   |count
----------+-----
fourmill: |40000
(1 row)

select 'fivemill: ' as message, count(*) from fivemill;
message   |count
----------+-----
fivemill: |50000
(1 row)

select 'fourram: ' as message, count(*) from fourram;
message  | count
---------+------
fourram: |200000
(1 row)


--

select '== Housekeeping tables ==' as message;
message                  
-------------------------
== Housekeeping tables ==
(1 row)


select 'update_int_history: ' as message, count(*) from update_int_history;
message             |count
--------------------+-----
update_int_history: |    0
(1 row)

select 'oltp_write_01_check_value: ' as message, count(*) from oltp_write_01_check_value;
message                    |count
---------------------------+-----
oltp_write_01_check_value: |    1
(1 row)

select 'update_signed_history: ' as message, count(*) from update_signed_history;
message                |count
-----------------------+-----
update_signed_history: |    0
(1 row)

select 'del_history: ' as message, count(*) from del_history;
message      |count
-------------+-----
del_history: |    0
(1 row)

select 'oltp_write_04_count_updates: ' as message, count(*) from oltp_write_04_count_updates;
message                      |count
-----------------------------+-----
oltp_write_04_count_updates: |    1
(1 row)


\q
